<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/include/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="${ctx}/layui/css/layui.css">
<script>
	var ctx = "${ctx}";
</script>
</head>
<body>
	<form class="layui-form" style="width: 80%;" id = "arf">
		<!-- 管理员id -->
		<input type="hidden" name="orderdetails_id" value="${orderdetails.theorder_id }"
			id="orderdetails_id" />
		<div class="layui-form-item">
			<label class="layui-form-label">收货人姓名</label>
			<div class="layui-input-block">
				<input type="text" id="name" class="layui-input"
					name="name" value="${orderdetails.name }">
			</div>
		</div>

<%-- 		<div class="layui-form-item">
			<label class="layui-form-label">产品分类</label>
			<div class="layui-input-block">
			<select name="productClassification" id="productClassification" class="layui-input">
			<option value="${product.productClassification }">${product.productClassification }</option>
			<option value="彩妆">彩妆</option>
			<option value="品牌箱包">品牌箱包</option>
			<option value="鞋履">鞋履</option>
			<option value="女士穿搭">女士穿搭</option>
			<option value="男士护肤">男士护肤	</option>
			<option value="内衣">内衣</option>
			<option value="品质男装">品质男装</option>
			<option value="运动">运动</option>
			<option value="钟表配饰">钟表配饰</option>
			<option value="居家">居家</option>
			<option value="食品保健">食品保健</option>
			<option value="母婴">母婴</option>
			<option value="数码家电">数码家电</option>
			<option value="护肤">护肤</option>
			</select>
				<input type="text" id="productClassification" class="layui-input"
					name="productClassification"
					value="${product.productClassification }">
			</div>
		</div> --%>
		<div class="layui-form-item">
			<label class="layui-form-label">收货人电话</label>
			<div class="layui-input-block">
				<input type="text" id="phone" class="layui-input"
					name="phone" value="${orderdetails.phone }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">收货地址</label>
			<div class="layui-input-block">
				<input type="text" id="address" class="layui-input"
					name="address" value="${orderdetails.address }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">商品名称</label>
			<div class="layui-input-block">
				<input type="text" id="product_name" class="layui-input"
					name="product_name" value="${orderdetails.product_name }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">规格名称</label>
			<div class="layui-input-block">
				<input type="text" id="product_color" class="layui-input"
					name="product_color" value="${orderdetails.product_color }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">购买数量</label>
			<div class="layui-input-block">
				<input type="text" id="product_quantity" class="layui-input"
					name="product_quantity" value="${orderdetails.product_quantity }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">商品金额</label>
			<div class="layui-input-block">
				<input type="text" id="order_money" class="layui-input"
					name="order_money" value="${orderdetails.order_money }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">订单创建时间</label>
			<div class="layui-input-block">
				<input type="text" id="theorder_time" class="layui-input"
					name="theorder_time" value="${orderdetails.theorder_time }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">订单编号</label>
			<div class="layui-input-block">
				<input type="text" id="theorder_id" class="layui-input"
					name="theorder_id" value="${orderdetails.theorder_id }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">支付时间</label>
			<div class="layui-input-block">
				<input type="text" id="theorder_paymenttime" class="layui-input"
					name="theorder_paymenttime" value="${orderdetails.theorder_paymenttime }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">订单完成时间</label>
			<div class="layui-input-block">
				<input type="text" id="theorder_deliverytime" class="layui-input"
					name="theorder_deliverytime" value="${orderdetails.theorder_deliverytime }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">订单备注</label>
			<div class="layui-input-block">
				<input type="text" id="theorder_note" class="layui-input"
					name="theorder_note" value="${orderdetails.theorder_note }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">订单总金额</label>
			<div class="layui-input-block">
				<input type="text" id="theorder_money" class="layui-input"
					name="theorder_money" value="${orderdetails.theorder_money }">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"></label>
			<div class="layui-input-block">
				<input type="text" id="theorder_state" class="layui-input"
					name="theorder_state" value="1" >
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="updateProduct">立即保存</button>
			</div>
		</div>
	</form>
	<script type="text/javascript" src="${ctx }/layui/layui.js"></script>
	<script type="text/javascript" src="${ctx }/js/orderdetails/editOrderdetails.js"></script>
</body>
</html>